package com.zhuimeng.Application.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

public class RechargeOrder {

    @TableId(type = IdType.INPUT)
    private String orderId;
    private Integer userId;
    private BigDecimal money;
    private Integer beanNumber;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public Integer getBeanNumber() {
        return beanNumber;
    }

    public void setBeanNumber(Integer beanNumber) {
        this.beanNumber = beanNumber;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "RechargeOrder{" +
                "orderId='" + orderId + '\'' +
                ", userId=" + userId +
                ", money=" + money +
                ", beanNumber=" + beanNumber +
                ", status=" + status +
                ", createTime=" + createTime +
                '}';
    }
}
